/* components/project-item-tb/indexd.wxss */
@themeColor: #A68E49;

@submitBgColor: #C5AF6F;

@fontColor: #333333;
@labelColor: #75777C;
@placeholderColor: #CCCCCC;
@requireColor: #FF3141;
@fontRedColor: #F72E17;
@fontWhiteColor: #FFFFFF;
.project-item-tb{
  box-sizing: border-box;
  width: 100%;
  height: 100%;

  .project-item-top{
    position: relative;
    width: 100%;
    height: 330rpx;

    .add{
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      
      width: 100%;
      height: 100%;
      background: #F8F8F8;
      border-radius: 26rpx;
      border: 2rpx dashed #D6D6D6;

      font-family: PingFangSC, PingFang SC;
      font-weight: 400;
      font-size: 24rpx;
      color: #75777C;
      line-height: 34rpx;

      .add-icon{
        width: 66rpx;
        height: 64rpx;
      }
    }
    
    .img{
      width: 100%;
      height: 100%;
      border-radius: 24rpx;
    }

    .delete-icon{
      display: flex;
      justify-content: center;
      align-items: center;

      position: absolute;
      top: -15rpx;
      right: -20rpx;
      width: 40rpx;
      height: 40rpx;
      font-size: 26rpx;
      color: #ffffff;
      background: #999999;
      border-radius: 50%;
      z-index: 9999;
    }
  }

  .project-item-bottom{
    box-sizing: border-box;
    padding-top: 24rpx;

    .title{
      font-family: PingFangSC, PingFang SC;
      font-weight: 400;
      font-size: 28rpx;
      color: @fontColor;
      line-height: 40rpx;

      &.overflowe-2-ellipsis{
          display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
        text-overflow: ellipsis;
      }
      &.overflowe-1-ellipsis{
          display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 1;
        overflow: hidden;
        text-overflow: ellipsis;
      }
    }

    .info{
      display: flex;
      align-items: flex-end;
      font-family: PingFangSC, PingFang SC;
      color: @fontRedColor;
      margin-top: 8rpx;

      .price{
        font-weight: 600;
        font-size: 34rpx;
        line-height: 56rpx;

        .price-unit{
          font-weight: 400;
          font-size: 24rpx;
          line-height: 34rpx;
        }
      }

      .sale-num{
        font-size: 22rpx;
        color: #999999;
        line-height: 48rpx;
        margin-left: 8rpx;
      }

      &.scroll-info{
        .price{
          font-size: 28rpx;
          .price-unit{
            font-size: 18rpx;
          }
        }
        .sale-num{
          font-size: 18rpx;
        }
      }
    }
  }
}